<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    
    <h2>JSONP接口使用</h2>

</body>
</html>
<script src="jquery-3.2.1.js"></script>
<script>
    $(function(){
        $("h2").click(function(){
            $.ajax({
                url : "https://api.asilu.com/phone/",
                data : {
                    phone : '13666666666'
                },
                success:function(data){
                    console.log(data);
                },
                dataType:'jsonp'
            })
        })
    })

</script>
